from lxml import etree
text=''
with open('test.html','r',encoding='utf-8') as f:
    text=f.read()
html=etree.HTML(text)
# print(html.xpath('//form/@action')[0])

# urls=html.xpath('//a/@href')
# print(urls)

# checkvals=html.xpath('//input[@type="checkbox"]/@value')
# print(checkvals)
src=html.xpath('//image/@src')
print(src)